package com.octopus.kernal.controller;

public enum SearchOperator {
	
	NOTEQUAL,
	EQUAL,
	LIKE,
	GREATER,
	LESS,
	BETWEEN;
	
	public static SearchOperator getOperator(int operator){
		switch(operator){
			case 0:
				return NOTEQUAL;
			case 1:
				return EQUAL;
			case 2:
				return LIKE;
			case 3:
				return GREATER;
			case 4:
				return LESS;
			case 5:
				return BETWEEN;
			default:
				return EQUAL;
		}
	}

}
